]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
debian/rules: Regenerate the css files before building
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 29 Feb 2024 22:08:38 +0000 (23:08 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 28 Mar 2026 18:41:42 +0000 (18:41 +0000)
Otherwise we may ship the outdated ones when patches apply changes to
upstream versions.

(cherry picked from commit cbd6c5333eb46e771b6362b1ce4acf48c2571491)

debian/rules

index ce6ce19c402a8894e0c1143be54cb3fd56c4c3ed..0d0d7763a20244a4f5b56c00ec0fb1fa44951bed 100755 (executable)
@@ -31,6 +31,13 @@ override_dh_auto_configure:
                -Dextensions-tool:bash_completion=enabled \
                $(CONFFLAGS)
 
+override_dh_auto_build:
+       # Regenerate the css files before building
+       env MESON_SOURCE_ROOT=$(CURDIR) MESON_DIST_ROOT=$(CURDIR) \
+               python3 meson/generate-stylesheets.py
+
+       dh_auto_build
+
 override_dh_makeshlibs:
        dh_makeshlibs -X/usr/lib/gnome-shell/